Optical character recognition (OCR) statements read graphical text in applications and convert it to text strings, adjust settings to improve the accuracy of the returned text, and return information about the settings used during playback.
Statement | Description |
---|---|
OCRCheckpoint | Verifies graphical text against an expected value using OCR comparison. |
OCRCheckpointPreviousStatement | Verifies graphical text in the screenshot captured for the action performed in the previous statement against an expected value using OCR comparison. |
OCRConvertToGrayscale | Converts an image to grayscale before reading it using OCR. |
OCRGetContrast | Returns the amount of color contrast used for OCR. |
OCRGetLanguageFilePath | Returns the path to the language file used for OCR. |
OCRGetScale | Returns the image scale used for OCR. |
OCRGetText | Returns the text found using OCR in a specified region, window, or control. |
OCRGetTextFromFile | Returns the text found using OCR in an image file. |
OCRGetTextPreviousStatement | Returns the text found using OCR in the screenshot captured for the action performed in the previous statement. |
OCRIsConvertingToGrayscale | Returns True or False to indicate if images are converted to grayscale before reading them using OCR. |
OCRSetContrast | Sets the amount of color contrast in an image before reading it using OCR |
OCRSetLanguageFilePath | Sets the path to the language file to use when reading an image using OCR. |
OCRSetScale | Sets the scale of an image before reading it using OCR. |